import request from '@/utils/request'

// 查询实时监控_报警督办列表
export function listBjdb(query) {
  return request({
    url: '/system/bjdb/list',
    method: 'get',
    params: query
  })
}

// 查询实时监控_报警督办详细
export function getBjdb(id) {
  return request({
    url: '/system/bjdb/' + id,
    method: 'get'
  })
}

// 新增实时监控_报警督办
export function addBjdb(data) {
  return request({
    url: '/system/bjdb',
    method: 'post',
    data: data
  })
}

// 修改实时监控_报警督办
export function updateBjdb(data) {
  return request({
    url: '/system/bjdb',
    method: 'put',
    data: data
  })
}

// 删除实时监控_报警督办
export function delBjdb(id) {
  return request({
    url: '/system/bjdb/' + id,
    method: 'delete'
  })
}
